#ifndef _POP_LAYER_H_
#define  _POP_LAYER_H_

#include "cocos2d.h"

USING_NS_CC;
using namespace std;

class MazeInfo;
class PopLayer : public cocos2d::CCLayer
{
public:
	virtual bool init();  
	//virtual void onEnter();

	// there's no 'id' in cpp, so we recommend returning the class instance pointer
	static cocos2d::CCScene* scene( );
	void returnMainMenu(CCObject* pSender);
	//virtual bool ccTouchBegan(CCTouch* touch, CCEvent* event);
	//virtual void ccTouchMoved(CCTouch* touch, CCEvent* event);
	//virtual void ccTouchEnded(CCTouch* touch, CCEvent* event);
	CREATE_FUNC(PopLayer);

	const char* content;
	void close( CCObject* pSender );
};

#endif